﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="EZCRS.HCMS.Web.manage.news.news_more" Codebehind="news_more.aspx.cs" %>
<%@ Register Src="../usercontrol/jspage.ascx" TagName="jspage" TagPrefix="uc1" %>
<%@ Register Src="../usercontrol/titlepage.ascx" TagName="titlepage" TagPrefix="uc2" %>
<%@ Register assembly="Book38.Net.CustomControl" namespace="Book38.Net.CustomControl" tagprefix="cc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
      <title></title>
     
      <script src="../../Common/base_grid.js" language="javascript" type="text/javascript"></script>  
 </head>
<body onLoad="Page_Load('First');">
    <form id="form1" runat="server">
    <uc2:titlepage id="Titlepage1" runat="server" inittitle="<%$ Resources:Site, LabNewsMore %>"></uc2:titlepage>
    
        <table class="main-table"  cellpadding="1" cellspacing="1">
            <tr class="line-even">
                <td style="width:30%; text-align: right;">
                     </td>
                <td style="width:50%; text-align: left;">
                    <asp:Label runat="server" ID="LabNewsTopics" Text="<%$ Resources:Site, LabNewsTopics %>"></asp:Label>：&nbsp;<cc2:WebTextBox ID="txt_newtopics" runat="server" CssClass="text-line" Width="150px"></cc2:WebTextBox> &nbsp; <asp:Button  ID="BtnSearch"  runat="server" CssClass="bttn" Text="<%$ Resources:Site, ButtonSearch %>" /></td>
                
                <td></td> 
                
            </tr>
        </table>
<input type="hidden" id="txt_sql" value="" />
    </form>
  <br /><uc1:jspage id="Jspage1" runat="server">
    </uc1:jspage>
   <script type="text/javascript">
    function Page_Load(pageindex)
    {
        var sqlStr="";
        sqlStr+=$F("txt_newtopics").value;
        pageindex=pageIndexSetting(pageindex);    //pageindex的设定
        EZCRS.HCMS.Web.manage.news.news_more.Getrecord(pageindex, $F("txt_newtopics").value,gid,pid,setTable);
        pageLastSetting(sqlStr,pageindex);     //最后的赋值
       
    }
    AjaxPro.timeoutPeriod = 40000;
    var l = $F("loadinfo");
    AjaxPro.onLoading = function(b)
    {
        l.innerHTML="<img src=\"../../Image/loading.gif\" alt=\"Loading\" align=\"absmiddle\" /><%= Resources.Site.LabLoadInfo %>";
    }    
    AjaxPro.onError = function(e) 
    {
        l.innerHTML="<%= Resources.Site.LabLoadErrInfo %>";
    } 
    AjaxPro.onTimeout = function(t) 
    {
        l.innerHTML="<%= Resources.Site.LabLoadErrInfo %>";
    }
   </script> 
   
</body>
</html>
